%h1 Show
%table
  %tr
    %td{:colspan=>2}
      Basic details
  %tr
    %td 
      %b Owner:
    %td=@campaign.owner.full_name

  %tr
    %td 
      %b Name:
    %td=@campaign.name
  %tr
    %td 
      %b Description:
      %td=@campaign.description
  %tr
    %td 
      %b Instructions to participate:
      %td=@campaign.instructions_to_participate

  %tr
    %td 
      %b Instructions to Win:
      %td=@campaign.instructions_to_win
  
  %tr
    %td 
      %b Campaign Image:
      %td=image_tag(@campaign.campaign_image.url(:medium))


  %tr
    %td
      %b Is Default:
    %td=@campaign.is_default
  
  %tr
    %td{:colspan=>2} 
      Pages
  %tr
    %td
      %b TOS Page:
    %td=@campaign.campaign_tos_page.title


  %tr
    %td
      %b FAQ Page:
    %td=@campaign.campaign_faq_page.title
      
  %tr
    %td
      %b Rules Page:
    %td=@campaign.campaign_rules_page.title
      

  %tr
    %td
      %b Privacy Page:
    %td=@campaign.campaign_privacy_page.title
      

  %tr
    %td
      %b Winner Email Template Page:
    %td=@campaign.campaign_winner_mail_page_template.title
      
      
  %tr
    %td{:colspan=>2} 
      Images and Look and Feel
  %tr
    %td
      %b Background Image:
    %td
      =image_tag(@campaign.background_image.url, :width=>100, :height=>100)
  %tr
    %td
      %b
        Header Image:
    %td=image_tag(@campaign.header_image.url, :width=>100, :height=>100)
     

  %tr
    %td{:colspan=>2} Global Share Button
  %tr
    %td
      %b Share Title:
    %td
      =@campaign.share_title
  %tr
    %td
      %b Share Description:
    %td
      =@campaign.share_description
  %tr
    %td
      %b Share Image:
    %td=image_tag(@campaign.share_image.url(:medium))
      
  
  %tr
    %td{:colspan=>2} General      

  %tr
    %td{:colspan=>2} Campaign Duration
  %tr
    %td
      %b Start Date:
    %td=@campaign.start_date
    
  %tr
    %td
      %b End Date
    %td=@campaign.end_date

  %tr
    %td{:colspan=>2} Campaign Prizes
  %tr
    %td
      %b Prize:
    %td=@campaign.prize
      
  %tr
    %td{:colspan=>2} Points per action
  %tr
    %td
      %b Invite Friends:
    %td=@campaign.points_invite_friends
  %tr
    %td
      %b Submit Content:
    %td=@campaign.points_submit_content
  %tr
    %td
      %b Comment Content:
    %td=@campaign.points_comment_content
  %tr
    %td
      %b Vote Content:
    %td=@campaign.points_vote_content

  %tr
    %td
      %b Points for voting user content:
    %td=@campaign.points_content_voted
  %tr
    %td
      %b Points for comment user content:
    %td=@campaign.points_content_commented
    
  %tr
    %td
      %b Minimum Points to win:
    %td=@campaign.minimum_points
    
   
    
    
  %tr
    %td{:colspan=>2} invitation messages
  %tr
    %td
      %b Invitation Type:
    %td=@campaign.invitation_type

  %tr
    %td
      %b Invitation Content:
    %td=@campaign.invitation_message

  %tr
    %td
      %b Invitation Action Message:
    %td=@campaign.invitation_action_message

  %tr
    %td
      %b Invitation landing Page URL:
    %td=@campaign.invitation_land_page_url

  %tr
    %td{:colspan=>2} Publish stream messages and Links
  %tr
    %td
      %b Publish Wall Link  Text:
    %td=@campaign.publish_wall_join_now_link_text

  %tr
    %td
      %b Publish Wall User Message:
    %td=@campaign.publish_wall_user_message
 

  %tr
    %td
      %b Publish Wall Caption:
    %td=@campaign.publish_wall_caption

  %tr
    %td
      %b Publish Wall User Message Prompt:
    %td=@campaign.publish_wall_user_message_prompt


  %tr
    %td
      %b Auto Publish Wall:
    %td=@campaign.publish_wall_auto_publish

  %tr
    %td{:colspan=>2} Publish stream to invite commenting and voting messgaes
  %tr
    %td
      %b publish_wall_comment_vote_user_content_message:
    %td=@campaign.publish_wall_comment_vote_user_content_message

  %tr
    %td
      %b publish_wall_comment_vote_user_content_caption:
    %td=@campaign.publish_wall_comment_vote_user_content_caption
 

  %tr
    %td
      %b publish_wall_comment_vote_user_content_link_text:
    %td=@campaign.publish_wall_comment_vote_user_content_link_text

  %tr
    %td
      %b publish_wall_comment_vote_user_content_user_message_prompt:
    %td=@campaign.publish_wall_comment_vote_user_content_user_message_prompt

  %tr
    %td{:colspan=>2} Social Networks
    
  %tr
    %td
      %b Twitter account URL:
    %td=@campaign.twitter_account_url
  %tr
    %td
      %b LinkedIn account URL:
    %td=@campaign.linkedin_account_url
  %tr
    %td
      %b Youtube account URL:
    %td=@campaign.youtube_account_url

  %tr
    %td
      %b facebook account URL:
    %td=@campaign.facebook_account_url

=link_to "Edit", edit_admin_campaign_path(@campaign)
=link_to "Copy", copy_admin_campaign_path(@campaign)
=link_to "Remove", [:admin,@campaign], :method=>:delete, :confirm=>"Are you sure you want to delete campaign #{@campaign.name}"

=link_to "Back", admin_campaigns_path